﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ECard.Controllers;

namespace ECard.Models
{
    public class RoleModel
    {
        public int id { get; set; }
        public string name { get; set; }
        private RoleController controller;

        public RoleModel()
        {
            controller = new RoleController();
        }

        public RoleModel(int id, string name) 
        {
            this.id = id;
            this.name = name;
            controller = new RoleController();
        }
    }
}